package edu.bbu.commonproject.desktop.gui.view.swing.login;

import java.awt.Dimension;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.Image;

import javax.swing.ImageIcon;
import javax.swing.JButton;
import javax.swing.JLabel;
import javax.swing.JLayeredPane;
import javax.swing.JPanel;
import javax.swing.JPasswordField;
import javax.swing.JTextField;

import edu.bbu.commonproject.desktop.gui.view.swing.utils.Design;
import edu.bbu.commonproject.desktop.gui.view.swing.utils.TexturedPanel;

/**
 * The start center panel class.
 */
public class CenterPanel extends TexturedPanel
{
	/** The image base texture. */
	private Image baseTexture;
	
	/** The start center collection panel. */
	private CenterCollectionPanel startCenterCollectionPanel;
	
	/**
	 * The constructor.
	 */
	public CenterPanel()
	{
		baseTexture = Design.COMPONENT_BASETEXTURE;
		this.setPreferredSize(new Dimension(1050, 550));
		this.setTexture(baseTexture);
		this.setLayout(new GridBagLayout());
		
		setComponents();
	}
	
	/**
	 * Sets up the components.
	 */
	private void setComponents()
	{
		startCenterCollectionPanel = new CenterCollectionPanel();
		this.add(startCenterCollectionPanel, new GridBagConstraints());
	}
	
	/**
	 * Gets the center collection panel.
	 * @return the center collection panel.
	 */
	public CenterCollectionPanel getCenterCollectionPanel()
	{
		return startCenterCollectionPanel;
	}
	
}
